﻿using BackData;
using MediatR;
using Rabbit.API.DTOs;

namespace Rabbit.API.Application.Command.Goods
{
    public class GoodsGetCommand:IRequest<APIPaging<GoodsDTO>>
    {

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodsName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>

        public string? CreateBatch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int? ExpireTime { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>

        public string? CreateCode { get; set; }
        /// <summary>
        /// 生产公司
        /// </summary>
         public string? CreateCompany { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int pageindex { get; set; }
        /// <summary>
        /// 当前页容量
        /// </summary>
        public int pagesize { get; set; }
    }
}
